Unit 3 Lab B
LAB B
Objective
To use the skills learned so far to alert you when jobs are Late to Start, Late to Finish, and/or have Exceeded Max Runtime.
Summary
Congo Online Retail needs to make sure all shipping orders are processed and ready to go before 5 am (Monday - Sunday) utilizing a Schedule called Congo Retail Order Processing.
If any of these processes have not completed by 5 am or if any are taking longer than 5 minutes, you need to be notified.
Lab Instructions
Create the Schedule
- Create a schedule with the following settings:
- Name the Schedule Congo Retail Order Processing
- Monday - Sunday
- Auto Build
7days in advance for1day - Auto Delete for
7days ago
You can reference Unit 1 - Exercise 1 for steps on how to create a Schedule.
Create the Jobs
- Create the jobs with the following settings:
- Legos
- Command Line:
"C:\scripts\ShipmentProcessorToys.EXE" –t90 - Add documentation
- Tag the Job under
Toys - Add a frequency that will allow the job to run everyday.
- Start Offset:
03:00 - Late to Start Offset:
01:55 (4:55 am) - Max Run Time:
5
- Command Line:
- Nerf
- Command Line:
"C:\scripts\ShipmentProcessorToys.EXE" –t120 - Add documentation
- Tag the Job under
Toys - Add a frequency that will allow the job to run everyday.
- Start Offset:
04:00 - Late to Finish Offset:
01:00 (5:00 am) - Max Run Time:
5
- Command Line:
- Smartphones
- Command Line:
"C:\scripts\ShipmentProcessorElectronics.EXE" –t15 - Add documentation
- Tag the Job under
Electronics - Add a frequency that will allow the job to run everyday.
- Start Offset:
04:30 - Late to Finish Offset:
00:30 (5:00 am) - Max Run Time:
5
- Command Line:
- XBOX
- Command Line:
"C:\scripts\ShipmentProcessorElectronics.EXE" –t350 - Add documentation
- Tag the Job under
Electronics - Add a frequency that will allow the job to run everyday.
- Start Offset:
02:30 - Late to Finish Offset:
02:30 (5:00 am) - Max Run Time:
5
- Command Line:
- Levis
- Command Line:
"C:\scripts\ShipmentProcessorClothing.EXE" –t45 - Add documentation
- Tag the Job under
Clothing - Add a frequency that will allow the job to run everyday.
- Start Offset:
03:10 - Late to Start Offset:
01:45 (4:55 am) - Max Run Time:
5
- Command Line:
- Nike
- Command Line:
"C:\scripts\ShipmentProcessorClothing.EXE" –t75 - Add documentation
- Tag the Job under
Clothing - Add a frequency that will allow the job to run everyday.
- Start Offset:
03:45 - Late to Finish Offset:
01:15 (5:00 am) - Max Run Time:
5
- Command Line:
- Legos
You can reference Unit 1 - Exercise 3 for steps on how to create a Windows Job.
You can reference Unit 1 - Exercise 5 for steps on how to add Tags.
You can reference Unit 2 - Exercise 11 and Other Frequency Details for steps on how to set up Start Offsets, Late to Start, and Late to Finish settings.
Create the Notifications
- Create the notifications to alert you to the following:
- Late to Start
- Late to Finish
- Exceeded Max Runtime
It is best practice to setup email notifications using System Properties to pass the name of the Schedule and the name of the Job.
- Schedule Name: [[$SCHEDULED NAME]]
- Job Name: [[$JOB NAME]]
You can reference Unit 3 - Exercise 8 for steps on how to create Notifications.
Create the Schedule
- Build the Schedule
- Build the Schedule Released for today and check the results using Solution Manager
- Open Thunderbird and check your inbox for the notificaitons. You should receive
You should receive 7 emails: 2 Late to Start, 4 Late to Finish, and 1 Exceeded Max Runtime.
You can reference Unit 1 - Exercise 6 for steps on how to build a schedule.